package cn.iotab.iotkit.transport.api.access.handler.session;

public interface SessionStorage {

    Session getBySessionId(String sessionId);

    Session getByDevice(String productKey, String deviceId);

    void saveSession(Session session);

    Session removeSession(String sessionId);

}
